import request from './http'

export async function createOrder(data) {
  return request.post('order/add', data)
}

export async function listOrder(data) {
  return request.post('order/list', data)
}